<style>
*{font-size:11px;}
</style>
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="js/filemanager.js"></script>
<div style="border-bottom:1px solid #7791C4;">
	<div style="font-weight:600;color:#000000; font-size:16px; height:30px">Create Folder</div>
</div>
<div id="error" style="height:18px; color:#FF0000" align="center"></div>
<div style="padding-top:10px">
	<form onsubmit="return checkcreatefolder(this)" method="post" enctype="multipart/form-data" target="uploadFrame">
	<table width="300">
		<tr>
			<td width="100">Create in: </td>
			<td id="folderP_div"></td>
		</tr>
		<tr>
			<td>Folder name: </td>
			<td><input type="text" name="foldercreate" /></td>
		</tr>
		<tr>
			<td></td>
			<td>
			<input type="hidden" name="folderP" id="folderP" value="" />
			<input type="submit" value="Create" />&nbsp;
			<input type="button" onclick="tinyMCEPopup.close()" value="Close"/>
			</td>
		</tr>
	</table>
	
	</form>
</div>
<iframe id="uploadFrame" name="uploadFrame" src="javascript:''" width="1" height="1" frameborder="0"></iframe>
<script>
var pathparent=tinyMCEPopup.getWindowArg('path_parent');
document.getElementById("folderP_div").innerHTML="/"+pathparent;
document.getElementById("folderP").value=pathparent;
</script>